//
//  WebViewController.m
//  IFengNews
//
//  Created by lanou3g on 16/3/3.
//  Copyright © 2016年 徐强. All rights reserved.
//

#import "WebViewController.h"

@interface WebViewController ()
@property (weak, nonatomic) IBOutlet UIWebView *webView;

@end

@implementation WebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
}
- (void)viewWillAppear:(BOOL)animated{
    self.title = self.header;
    if (!self.url_3w) {
        return;
    }
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:self.url_3w]];
    [self.webView loadRequest:request];
}


@end
